package com.lvmama.task.job.common;

import com.lvmama.task.common.utils.Constant;

/**
 * Created by troy on 2016/7/6.
 * kouhongyu@163.com
 */
public class TaskJobParameters {

    public static String TASK_MONITOR_PORT;
    public static String TASK_JOB_NODE;
    public static String TASK_JOB_OWNER;
    public static Integer TASK_JOB_DEFAULT_SO_TIME;

    static {
        TASK_MONITOR_PORT = Constant.getInstance().getProperty("task.monitor.port");
        TASK_JOB_NODE = Constant.getInstance().getProperty("task.job.node");
        TASK_JOB_OWNER = Constant.getInstance().getProperty("task.job.owner");
        TASK_JOB_DEFAULT_SO_TIME = Integer.valueOf(Constant.getInstance().getProperty("task.execute.job.default.so.time"));
    }
}
